FROM openjdk
COPY --from=build target/helloworld-demo-0.0.1-SNAPSHOT.jar helloworld-demo-0.0.1-SNAPSHOT.jar
CMD ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-jar", "helloworld-demo-0.0.1-SNAPSHOT.jar"]
